import storage from 'store'

const message = {
	state: {
		title: ""
	},
	mutations: {
		SET_CONFIG_TITLE: (state, list) => {
			state.title = list
		},
	},

	actions: {
		setNavigationBarTitle({
			commit
		}, params) {
			console.log(123)
			return new Promise((resolve, reject) => {
				uni.setNavigationBarTitle({
					title: "\"XXX\"团体摄影大赛"
				});
				
				resolve(true)
			})
		}
	}
}

export default message
